home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / 386bsd-faq / part7 < prev    next >
Internet Message Format  |  1994-04-01  |  25KB

  1. Path: bloom-beacon.mit.edu!hookup!news.moneng.mei.com!howland.reston.ans.net!news.cac.psu.edu!news.pop.psu.edu!ctc.com!news.mic.ucla.edu!ux1.lmu.edu!cynjut.ogisd.ess.harris.com!jocas-al.brooks.af.mil!hrd769.brooks.af.mil!not-for-mail
  2. From: burgess@hrd769.brooks.af.mil (Dave Burgess)
  3. Newsgroups: comp.os.386bsd.announce,comp.answers,news.answers
  4. Subject: [comp.os.386bsd] BNR/2 derived BSD for PCs FAQ (Part 7 of 10)
  5. Followup-To: comp.os.386bsd.misc
  6. Date: 31 Mar 1994 21:37:51 -0000
  7. Organization: Armstrong Laboratory, Brooks AFB, TX
  8. Lines: 559
  9. Approved: news-answers-request@MIT.Edu
  10. Distribution: world
  11. Expires: 04/18/94
  12. Message-ID: <386bsd-faq-7-765149856@hrd769.brooks.af.mil>
  13. References: <386bsd-faq-1-765149856@hrd769.brooks.af.mil>
  14. Reply-To: 386bsd-faq@hrd769.brooks.af.mil (386bsd FAQ Maintainer)
  15. NNTP-Posting-Host: hrd769.brooks.af.mil
  16. Xref: bloom-beacon.mit.edu comp.os.386bsd.announce:312 comp.answers:4392 news.answers:17181
  17.  
  18. Posted-By: auto-faq 2.4
  19. Archive-name: 386bsd-faq/part7
  20.  
  21. Section 6.    (Interaction with MS-DOS)
  22.  
  23. 6.0    Working with DOS and BNR/2 related software.
  24.  
  25.     This section is designed to cover some of the more common 
  26.     problems that DOS will have when interacting with BNR/2.
  27.     There are other sections of the FAQ that deal with 
  28.     indirectly with this .  Try looking in sections 0, 1, and 2
  29.     to see if something in there (particularly when talking 
  30.     about DOS and *BSD coexisting on a single drive).
  31.  
  32.     
  33. 6.1    Formatting a floppy
  34.  
  35.     There is a rumor that floppy formatting either is possible or was
  36.     possible at one time.  If you see any software or FTP sites with 
  37.     anything about this, please contact burgess@hrd769.brooks.af.mil
  38.     and I will make sure it gets updated in here.
  39.  
  40.     There was a set of patches that were developed to allow floppy
  41.     formatting.  They are not currently included in any of the *BSD
  42.     systems.
  43.  
  44.     I have actually applied the patches for floppy formatting here on 
  45.     NetBSD, and they seem to work just fine.  The fdformat program 
  46.     could use some work, but seems to work OK.  According to the author,
  47.     similar patches are available for NetBSD and the original 386BSD.
  48.     Presumably, FreeBSD patches can't be too far behind.  The package 
  49.     that I used here was posted in comp.os.386bsd.* somewhere.  I think
  50.     that it is available by anonymous FTP from hrd769.brooks.af.mil.  
  51.     If not, E-Mail me at burgess@hrd769.brooks.af.mil and I will mail
  52.     you a tar file with the stuff that i have available.
  53.     
  54.  
  55. 6.2    Sharing the Disk with MS-DOS
  56.  
  57.     There are a myriad of questions about how to share a disk between
  58.     386bsd and MS-DOS.  They all boils down to one of the <n> following
  59.     questions:
  60.  
  61.     1)  How can I partition my drive for both MS-DOS and 386bsd?
  62.     2)  I can install using the whole disk, but I can't install when 
  63.     I try to share the drive between 386bsd and MS-DOS.  Why?
  64.     3)  I can use either MS-DOS or 386BSD on my hard drive,
  65.     but shutdown -todos doesn't seem to work.
  66.  
  67.  
  68. 6.2.1    How can I partition my drive to support both MS-DOS and *bsd?
  69.  
  70.     NOTE:  Before attempting to install *bsd on a computer with an
  71.     active DOS partition, ALWAYS back up your hard drive.  No one on 
  72.     the net, no matter how talented, can help you recover a hosed 
  73.     MS-DOS file system.  If you lose all of your data, it is YOUR
  74.     fault.
  75.  
  76.     During the install phase, you need to have un-allocated space left
  77.     on your disk drive.  This allows the install program to correctly
  78.     install the *bsd partition in the partition table and DOS to
  79.     peacefully co-exist with *bsd.
  80.  
  81.     If you do not have any space available on your hard drive, you will
  82.     not be able to install both.  Re-fdisk your hard drive and make
  83.     sure you have left un-allocated space in the partition table.  
  84.     This WILL wipe out your DOS partition - Permanently.
  85.  
  86.     Even though the partition table procedure above may have worked, 
  87.     there are still no guarantees that your system will boot after
  88.     the install.  This problem most often manifests itself as one of
  89.     the endless reboot problems.  You would normally be able to boot
  90.     DOS from the hard disk, but not *bsd (once that partition is
  91.     marked as active).
  92.  
  93.     Once the partition table has been correctly defined with both
  94.     DOS and *bsd, there can still be problem.  One of the most
  95.     common is that the disk drive works in some sort of translation
  96.     mode.  This is particularly common with drives that physically have
  97.     more than 1024 cylinders.  DOS cannot access a drive with more than
  98.     1024 cylinders.  Translation mode will have to be turned off, usually
  99.     by redefining your hard drive in SETUP as one of the user definable
  100.     types.  This change will normally trash your hard drive, or at least
  101.     render your DOS partition unreadable.
  102.  
  103.     The solution to this problem is to install *bsd at the end of the
  104.     hard drive.  While DOS cannot use cylinders above 1024, *bsd has
  105.     no such limitations, once it has booted.  During the boot-up phase,
  106.     some of the newer boot blocks will refer to the BIOS for some
  107.     services.  Specifically, the disk is checked for a bad sector map
  108.     on the last track.  Since the BIOS cannot deal with cylinders
  109.     higher than 1024, your bad sector map will be incorrectly
  110.     identified as 1023 if the number of cylinders is larger than that.
  111.     This problem is being worked on, and I hope to change this section
  112.     with better news later.
  113.  
  114.     NOTE:  The only people that this problem will effect are those 
  115.     MFM and ESDI users that have drives with more than 1023 tracks.  
  116.     While drives of this type are not the overwhelming majority, 
  117.     neither are they an anomoly.  People are working on it.
  118.  
  119.     As an example, if your hard disk physically has 8 heads, 16 sectors 
  120.     per track, and 2000 cylinders (128M); you MUST use some sort of disk
  121.     translation in order to use the entire drive.  An obvious geometry
  122.     for this drive (for DOS) would be 16 heads, 16 sectors, and 1000
  123.     cylinders.  Unfortunately, *bsd operates using the disk drives
  124.     native geometry as reported during the probe phase of boot up.  This
  125.     will probably be 8/16/2000, and will NOT agree with your translated
  126.     disk geometry.  This causes an endless reboot cycle.  If you change
  127.     the geometry so that the drive agrees with the disklabel, your DOS
  128.     partition is toast.
  129.  
  130.     The best way to operate in this case would be to (for example)
  131.     split the disk in half.  That leaves 64M for DOS, using a 
  132.     geometry of 8 heads, 16 sectors per track, and the first 1000 
  133.     cylinders for DOS.  The second 1000 cylinders could then safely
  134.     be used for *bsd.  The DOS partition table may even be capable of
  135.     showing this partition as it actually exists.
  136.  
  137.     Luke Mewburn <zak@rmit.edu.au> has provided the following tutorial on 
  138.     using the pfdisk program and making your *bsd/NetBSD partitions
  139.     peacefully coexist with DOS.  While this is kind of a 'cookbook' 
  140.     approach, please keep in mind that this is probably easily 
  141.     transferrable to all BNR derived Unices.
  142.  
  143.  
  144.             Getting NetBSD 0.8 to coexist with DOS.
  145.  
  146.             Written 930510 by Luke Mewburn <zak@rmit.edu.au>
  147.  
  148.  
  149.     NetBSD can be made to happily co-exist with DOS if its install
  150.     program knows how to modify the partition table. This assumes
  151.     that you have access to a program which enables you to edit the
  152.     partition table of your hard drive (such as Norton Utilities, or
  153.     pfdisk).
  154.  
  155.     When you partition your hard drive, you will probably have a large
  156.     partition in which you wish to place NetBSD. This has to have the
  157.     partition ID of 165d (or 0xA5). To change this, you can use the
  158.     'Partition Edit' section of Norton's, or you can use pfdisk.
  159.     This document will go into more detail on how to use pfdisk, as it's
  160.     freely available.
  161.  
  162.     I'll use my personal drive specifications in the following example.
  163.     It is a 1001 cylinder, 15 trk/cyl, 17 sec/trk, 125MB drive. I
  164.     low-level formatted it, and used fdisk on a MS-DOS 5.0 boot disk to
  165.     create a primary partition '1' of 32MB, and an extended partition '2'
  166.     of 93MB.  I formatted the drive with format c: /s to give myself a
  167.     bootstrap for DOS (much faster than floppies :), but this isn't that
  168.     necessary. Now, the next stage...
  169.  
  170.     Running pfdisk 0 (to access my first (and only :) HD) came up with
  171.     something like:
  172.     
  173.     For help, enter: '?'
  174.     pfdisk>
  175.  
  176.     At the prompt, enter 'l' to list partitions, giving (in my case),
  177.     something like:
  178.  
  179.     # Partition table on device: 0
  180.     geometry 1000 15 17 (cyls heads sectors)
  181.     #  ID  First(cyl)  Last(cyl)  Name  # start, length (sectors)
  182.     1   4      0        256       DOS16 # 17, 65518
  183.     2   0    257        999       unkno # 65535, 189465
  184.     3   0      0          0       empty # 0, 0
  185.     4   0      0          0       empty # 0, 0
  186.     active: 0 (none)
  187.  
  188.     (Note that there is 1 cylinder less - the last one is, I think,
  189.     for the IDE controller to use when auto-mapping dud sectors out.)
  190.  
  191.     Now, we want to change the type of #2 (the prospective NetBSD
  192.     partition) to 165. You can obtain a list of known IDs by selecting
  193.     'I'. Depending on the version of pfdisk you have, 165 may or may not
  194.     be known. This doesn't matter too much either way. To get the NetBSD
  195.     install program to use the 2nd partition, I would enter:
  196.  
  197.     pfdisk> 2 165 257 999
  198.  
  199.     Another 'l' to list partitions would show that the entry for
  200.     partition 2 will either look like one of the following (depending
  201.     on whether pfdisk knows about the 386bsd partition type or not):
  202.  
  203.     2 165    257        999       unkno # 65535, 189465
  204.     or
  205.     2 165    257        999       386BS # 65535, 189465
  206.  
  207.  
  208.     You could set the active partition with 'a 2' if you want NetBSD
  209.     to always boot, but I personally recommend that you obtain a copy
  210.     of OS-BS 1.35 or BOOTEASY to save you the hassle of running fdisk
  211.     or pfdisk every time you wish to swap system types.
  212.  
  213.     To complete everything off, do 'w' to write out the info (once
  214.     you're sure it's correct! :), and 'q' to quit the program.
  215.  
  216.  
  217.     Well, I hope that is useful to someone. Comments can be directed
  218.     to the author (Email: <zak@rmit.edu.au>).
  219.  
  220.  
  221. 6.2.2    I can install using the whole disk, but I can't install when 
  222.     I try to share the drive between 386bsd and MS-DOS.  Why?
  223.  
  224.     This is an extension of the question above.  The most common reason
  225.     for this is, once again, disk translation problems.  If the 
  226.     disklabel does not agree with the disk geometry, the install will
  227.     fail.  Other incarnations of this problem are that you can install
  228.     DOS, then 386bsd, and DOS will be hosed, or vice versa.
  229.  
  230.     There are more than a couple of people who will blithely suggest that
  231.     this is a good thing, and you should install 386bsd exclusively,
  232.     job not withstanding.
  233.  
  234.  
  235. 6.2.3    I can use either MS-DOS or 386BSD on my hard drive,
  236.     but shutdown -todos doesn't seem to work.
  237.  
  238.     There is a known bug in shutdown that prevents the -todos option 
  239.     from working as advertised on all but the smallest DOS partitions.
  240.     Many people have reported some success while using a very small
  241.     (less than 32M) DOS partition as the first partition.
  242.  
  243.     There is a utility available for 386bsd which operates very much
  244.     like the MS-DOS fdisk partitioning program.  You can use this program
  245.     to mark the DOS partition active from 386bsd.  A similar procedure
  246.     is used (fdisk in DOS) to mark the 386bsd partition as the active
  247.     boot partition.  Boot managers are also an excellent investment for
  248.     those individuals that need to boot both DOS and 386BSD.
  249.  
  250.  
  251. 6.2.4    Is there any hope of ever running MS-DOS applications under any of
  252.     the free BSD systems?
  253.  
  254.     There is currently a project in development to port the Windows 
  255.     program exvironment to Linux and the *BSD systems.  Here is an
  256.     excerpt from the original message announcing the project:
  257.  
  258.     As many of you already know, we are in the process of creating a
  259.     Windows emulator.  This emulator is similar to Sun's Wabi product, 
  260.     but is being developed completely independent of them.  Many of 
  261.     you are anxious to hear the latest status of the project.  I have 
  262.     created a mailing list for those of you.  To join the list, simply 
  263.     send mail to:
  264.  
  265.     wine-project-info@amscons.com
  266.  
  267.     If your mailing address is not easy to deduce from the mail 
  268.     headers, then place the following line in the body of the message 
  269.     that you send.
  270.  
  271.     Reply-To: youraddress@yourmachine
  272.  
  273.     where youraddress@yourmachine should be replaced by your actual 
  274.     mailing address.
  275.  
  276.  
  277. 6.3    Accessing the MS-DOS filesystem 
  278.  
  279.     One of the most common MS-DOS related questions (with the possible
  280.     exception of 6.2 above) is how to access the DOS disk partitions
  281.     from 386bsd.  One way is to modify mtools so that it recognizes your
  282.     DOS partition.  This solution is provided by Jim Paradis 
  283.     (paradis@sousa.ltn.dec.com):
  284.  
  285.     --------------------------------------------------------------------
  286.     To build a /usr/othersrc/public/mtools.2.0.5/devices.c file that 
  287.     lets you access the DOS partition, you need to know the byte offset 
  288.     of the DOS partition from the start of the hard disk.  You would then 
  289.     add an entry to the devices[] array as follows:
  290.  
  291.     {'C', "/dev/wd0d", <byte-offset>L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  292.  
  293.     So, f'rinstance, if your DOS partition starts at the beginning of
  294.     the disk, you'd have:
  295.  
  296.     {'C', "/dev/wd0d", 0L, 16, 0, (int (*) ()) 0, 0, 0, 0},
  297.  
  298.     On the other hand, if your DOS partition starts 32MB into the disk,
  299.     you'd say something like:
  300.  
  301.     {'C', "/dev/wd0d", (32768L * 1024L), 16, 0, (int (*) ()) 0, 0, 0, 0},
  302.  
  303.     --------------------------------------------------------------------
  304.     Of course, this is both the hard and VERY non-portable way of
  305.     solving this problem.  An easier way would be to add PCFS to your 
  306.     386bsd/NetBSD system.  Both the PC File system and PC Network File 
  307.     System (PC-NFS) code has been ported to 386bsd/NetBSD/FreeBSD.  These 
  308.     are available from several sources, including the patchkit. 
  309.  
  310.     The instructions for using PCFS with 386BSD are provided by Scott 
  311.     Miles <gt1679c@prism.gatech.EDU>. 
  312.  
  313.         What would probably be easier would be to add a partition to 
  314.         the disklabel for your DOS drive and then just mount it with 
  315.         PCFS.  I don't know if it's in the FAQ now, I haven't read it 
  316.         for a while, but this is what I did:
  317.  
  318.         1) run 'fdisk' and write down the DOS partition info for 
  319.         the start and size that it gives you.
  320.  
  321.         2) disklabel -e -r /dev/<raw device>
  322.               - Add 1 to the '# partitions:', and then add another line 
  323.               for the DOS partition .  Mine went in after e: as 
  324.  
  325.        f:   130977     63   unused      0     0     # (Cyl.    0*- 129*)
  326.  
  327.     (Ed.Note:  The unused should be something else, although I really
  328.         couldn't tell you what. MSDOS is a recognized partition 
  329.         type name, maybe that should be used.  Also, make sure that
  330.         your c: and d: partitions do not overlap this area.  h: might 
  331.         be a better partition letter to use; that way the MSDOS 
  332.         partition is graphically separate from the rest of the BSD
  333.         partitions.  DO NOT USE a:, b:, c:, or d: for your DOS 
  334.         partition.  These are RESERVED for your BSD system and any 
  335.         attempt to use these for anything but what BSD uses them for 
  336.         will result in a completely hosed, totally dead, absolutely 
  337.         screwed up file system.  You have been warned! )
  338.  
  339.         3) Add a line to /etc/fstab if you want it mounted 
  340.         automatically.
  341.              Mine is:
  342.              /dev/wd0f       /dos            pcfs    rw              1       2
  343.  
  344.            Otherwise, just mount -t pcfs /dev/<part> /<dir>
  345.  
  346.     Mount has other options that may improve performance or increase
  347.     security for your system.  See 'man mount' for more information 
  348.     about mounting your system read-only and other advanced features.
  349.  
  350.     In addition to this, Jordan Hubbard has provided us with the
  351.     following description for mounting the DOS partition specifically
  352.     from FreeBSD:
  353.  
  354.         How to mount your DOS partition from FreeBSD
  355.  
  356.     1. First, be root.  The following won't work as an ordinary user.
  357.  
  358.     2. Second, use 'fdisk' to see where your DOS partition starts.  
  359.     It will be labeled as type DOS.  On my system, 'fdisk /dev/sd0d' 
  360.     produces the following:
  361.  
  362.         ... (extraneous output, not of interest) ...
  363.     The data for partition 0 is:
  364.     sysid 6,(Primary 'big' DOS (> 32MB))
  365.         start 32, size 306400 (149 Meg), flag 0
  366.             beg: cyl 0/ sector 1/ head 1;
  367.             end: cyl 149/ sector 32/ head 39
  368.  
  369.         This shows me that my DOS partition starts at sector 32, and 
  370.     is 306400 (512 byte) sectors long.
  371.  
  372.     NOTE:  If you're trying to mount a DOS `EXTENDED' partition, then 
  373.     you need to add `32' to this start address you got from fdisk in 
  374.     subsequent calculations, I.E. in the above example (assuming it 
  375.     was an EXTENDED partition rather than the Primary), you'd use 
  376.     `start 64, size 306400'.
  377.  
  378.     [Ed.Note.  This example assumes a SCSI disk.  For disks with a 
  379.     number of sectors per track which is different than 32, you will
  380.     probably see the 32s above replaced with your number of sectors
  381.     per track. ]
  382.  
  383.     3. Next, using this information, you craft a new disk entry in your
  384.        /etc/disktab file that assigns one of your unused "UNIX" 
  385.        partitions to this DOS region.  Again, using my system as a 
  386.        default, you see I've created:
  387.  
  388.     disk0|DEC 5501:\
  389.         :ty=winchester:dt=SCSI:se#512:nt#8:ns#256:nc#1001:rm#3600:\
  390.         :pa#956416:oa#307200:ba#8192:fa#1024:ta=4.2BSD:\
  391.         :pb#131072:ob#1263616:tb=swap:\
  392.         :pc#1087488:oc#307200:tc=UNUSED:\
  393.         :pe#306400:oe#32:te=MSDOS:
  394.  
  395.        As you can see, partition 'e' now points to the DOS partition as
  396.        pointed out by fdisk.
  397.  
  398.        [Ed.Note again.  Remember what I said about the 32 above...]
  399.        
  400.  
  401.     4. Now we have to actually stick the label on the disk, which is done
  402.        with disklabel.  Using my example, this would be:
  403.  
  404.         disklabel -r -w sd0 disk0 SCSI /usr/mdec/sdboot /usr/mdec/bootsd
  405.  
  406.     5. Reboot your system to see the new disk label.
  407.  
  408.     6. Mount the DOS partition.  I do:
  409.  
  410.         mount -t pcfs /dev/sd0e /dos_c
  411.  
  412.        Where /dos_c is just a convenient directory to mount it.
  413.  
  414.     7. You're set!
  415.  
  416.     With the exception that the '-t' option is msdos in NetBSD, these 
  417.     instructions seem to work with the same facility for NetBSD.  I
  418.     also received a note a couple of weeks ago (that I promptly deleted
  419.     because I new that I would remember what it said) that DOS extended
  420.     partitions are readable if you skip the first 'n' blocks in your 
  421.     computations (where 'n' is your number of sectors per track).  This 
  422.     way, you skip over the 'new' part of the DOS file system.  That means 
  423.     that insted of the oe:32 above, you would need an oe:48 instead.  
  424.  
  425.     Also remember that the compressed file system in DOS 6 will probably
  426.     be completely greek to your NetBSD/FreeBSD system.  I seriuosly 
  427.     doubt that you will be able to read the compressed DOS file system
  428.     anytime in the forseeable future.
  429.      
  430.  
  431. 6.4    NFS/PC-NFS support
  432.  
  433.     The problems normally associated with PC-NFS are also associated 
  434.     with NFS in general.  
  435.  
  436.  
  437. 6.4.1    Can I use 8K packets for NFS?  When I try, I have all kinds of 
  438.     problems.
  439.  
  440.     In addition to the NE2000 card, this problem can also manifest 
  441.     itself on other ISA networks cards that have a limited amount of
  442.     memory.  Ken Raeburn (raeburn@cambridge.cygnus.com) has identified 
  443.     a common problem with the NE2000 card and provided us with a work
  444.     around:
  445.  
  446.     --------------------------------------------------------------------
  447.     I reported previously that I was seeing problems reading files over
  448.     NFS using the ne2000 driver; timeouts would eventually be reported, no
  449.     data would be read.  Listing files and directories (small ones
  450.     anyway) were not a problem.
  451.  
  452.     After playing with etherfind and kernel printfs, I've come to this
  453.     conclusion: Fragmented 8K UDP packets from the NFS server are not
  454.     reaching the UDP layer in 386bsd.  The Sun is sending them (according
  455.     to another Sun spying on the network), but the UDP input routine is
  456.     never called.  I don't know if the bug here is on the 386bsd or Sun
  457.     side, and won't have time to look into it in the next couple of days.
  458.  
  459.     In the meantime, mounting NFS file systems with "rsize=1024" does get
  460.     rid of this problem.
  461.  
  462.     Ken
  463.     --------------------------------------------------------------------
  464.  
  465.     As a matter of policy, specifying "rsize=1024,wsize=1024" works very
  466.     well also, and makes the transfers seem to run faster.  This is
  467.     probably because there are fewer collisions.  The disadvantage of 
  468.     this method comes from the kernel 'sync'ing after all NFS writes.  
  469.     This can slow NFS accesses considerably.  As with most 
  470.     generalizations, this one too can do nearly as much harm as good.  
  471.     Charles Hannum reports that he has no trouble using the default 8K 
  472.     packet size.  If you have trouble, reduce your default packet size
  473.     until the problem goes away.
  474.  
  475.     WIth the newer drivers (especially the ed driver) most of these 
  476.     problems are solved automagically.  If you are still using the
  477.     original 386bsd 0.1 release, you REALLY need to upgrade.
  478.     
  479.  
  480. 6.4.2    How do I get around the NFS "Permission denied" error?
  481.  
  482.     The problem is not the configuration of the server (unless there is
  483.     no real requirement to run it in "secure" mode, and you happen to
  484.     be running it that way anyway).  The problem is the fact that,
  485.     even though mount request are sent on a privileged port, NFS
  486.     connections are not.  This is part of secure NFS, and is not
  487.     supported in 386BSD.
  488.     
  489.  
  490. 6.4.3    What does the message "BAD MNT RPC: RPC Authentication error; 
  491.     why = Invalid client credential" mean when I try to mount something
  492.     from another machine?
  493.  
  494.     Hellmuth Michaelis (hm@hcshh.hcs.de) offers the solution to this
  495.     relatively common problem:
  496.  
  497.     You have to make sure that the user "root" is not present in more
  498.     than 8 entries in the "/etc/group" - file on the 386BSD machine.
  499.     Simply remove some entries and the NFS mounts will succeed.
  500.  
  501.     The problem is also explained in the Clarkson Driver documentation.
  502.     On 386bsd, the maximum number of groups that can be associated with
  503.     a particular user is specified in the source (in a #DEFINE).  In 
  504.     386bsd, this number is set to 8.  So, you actually have two routes
  505.     you can take to correct this problem.  The first is outlined by
  506.     Hellmuth, above, and the second is to edit and recompile the NSF
  507.     software to allow more groups.
  508.  
  509.  
  510. 6.4.4    What does the message "Bad MNT RPC: RPC: Authentication error; 
  511.     why = Client credential too weak" mean when I try to mount something
  512.     from another machine?
  513.  
  514.     This problem is a standard NFS problem; it simply means that your 
  515.     user number is not one of the ones that can mount this NFS.  
  516.     Normally, you will get this message when you are trying to mount 
  517.     a filesystem from a machine that allows 'root' to mount an NFS,
  518.     but limits other users.
  519.  
  520.  
  521. 6.4.5    I get a lot of 'ring buffer overflow' messages using NFS and the
  522.     ed0 driver.  Is there a problem?
  523.  
  524.     David Greenman (davidg@implode.rain.com), the original author of 
  525.     the ed0 driver, provides us with some insight into the inner 
  526.     workings of the ed0 driver.
  527.  
  528.        It always surpises me that people don't just ask the original 
  529.     author these questions. :-) Anyway, the reason these are happening 
  530.     is that the access to the 8bit boards shared memory simply isn't 
  531.     fast enough to deal with full wire speeds...but the driver tries 
  532.     hard...so even though packets get dropped, your performance only 
  533.     drops to about what the ethernet board is capable of (should be 
  534.     in the 400-600k range with an 8bit card). NFS is especially bad 
  535.     because the UDP window is quite large (40k last time I looked), 
  536.     so the overflow condition can happen easily. I've explained this
  537.     for the most part in the release notes for the driver, but these 
  538.     didn't make it into either the FreeBSD or NetBSD releases (we 
  539.     couldn't find an appropriate place to put them).
  540.  
  541.     >From the release notes:
  542.  
  543.     receive
  544.     -------
  545.        The 8390 implements a shared memory ring-buffer to store 
  546.     incoming packets.  The 8bit boards (3c503, and 8003) usually have 
  547.     only 8k bytes of shared memory.  This is only enough room for about 
  548.     4 full size (1500 byte) packets. This can sometimes be a problem, 
  549.     especially on the original WD8003E and 3c503.  This is because these 
  550.     boards' shared memory access speed is also quite slow compared to 
  551.     newer boards - typically only about 1MB/second. The additional 
  552.     overhead of this slow memory access, and the fact that there is 
  553.     only room for 4 full-sized packets means that the ring-buffer 
  554.     will occassionally overflow.  When this happens, the board must 
  555.     be reset to avoid a lockup problem in early revision 8390's.  
  556.     Resetting the board will cause all of the data in the ring-buffer 
  557.     to be lost - requiring it to be re-transmitted/received...slowing 
  558.     things even further.  Because of these problems, maximum throughput 
  559.     on boards of this type is only about 400-600k per second. The 16bit 
  560.     boards (8013 series), however, have 16k of memory as well as much 
  561.     faster memory access speed. Typical memory access speed on these 
  562.     boards is about 4MB/second. These boards generally have no problems 
  563.     keeping up with full ethernet speed. The only problem I've seen 
  564.     with these boards is related to the (slow) performance of 386BSD's 
  565.     malloc code when additional mbufs must be added to the pool. This 
  566.     can sometimes increase the total time to remove a packet enough 
  567.     for a ring-buffer overflow to occur.  
  568.  
  569.  
  570. 6.4.6    Is there any PC software that will allow me to use my enormous PC
  571.     with all of the unsupported hardware as a PC-NFS server?
  572.  
  573.     Yes.  It is called SOSS, and is available from MANY FTP sources.
  574.     You will need the aforementioned Clarkson Packet Drivers for it
  575.     to work, but that should cause too many problems for most people.
  576.  
  577.